package com.eshop.modules.activity.domain;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eshop.domain.BaseDomain;

@TableName("user_extract")
public class UserExtract extends BaseDomain
{
    @TableId
    private Long id;
    private Long uid;
    private String realName;
    private String extractType;
    private String bankCode;
    private String bankAddress;
    private String alipayCode;
    private BigDecimal extractPrice;
    private String mark;
    private BigDecimal balance;
    private String failMsg;
    private Date failTime;
    private Integer status;
    private String wechat;
    
    public void copy(final UserExtract source) {
        BeanUtil.copyProperties((Object)source, (Object)this, CopyOptions.create().setIgnoreNullValue(true));
    }
    
    public Long getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public String getRealName() {
        return this.realName;
    }
    
    public String getExtractType() {
        return this.extractType;
    }
    
    public String getBankCode() {
        return this.bankCode;
    }
    
    public String getBankAddress() {
        return this.bankAddress;
    }
    
    public String getAlipayCode() {
        return this.alipayCode;
    }
    
    public BigDecimal getExtractPrice() {
        return this.extractPrice;
    }
    
    public String getMark() {
        return this.mark;
    }
    
    public BigDecimal getBalance() {
        return this.balance;
    }
    
    public String getFailMsg() {
        return this.failMsg;
    }
    
    public Date getFailTime() {
        return this.failTime;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public String getWechat() {
        return this.wechat;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setRealName(final String realName) {
        this.realName = realName;
    }
    
    public void setExtractType(final String extractType) {
        this.extractType = extractType;
    }
    
    public void setBankCode(final String bankCode) {
        this.bankCode = bankCode;
    }
    
    public void setBankAddress(final String bankAddress) {
        this.bankAddress = bankAddress;
    }
    
    public void setAlipayCode(final String alipayCode) {
        this.alipayCode = alipayCode;
    }
    
    public void setExtractPrice(final BigDecimal extractPrice) {
        this.extractPrice = extractPrice;
    }
    
    public void setMark(final String mark) {
        this.mark = mark;
    }
    
    public void setBalance(final BigDecimal balance) {
        this.balance = balance;
    }
    
    public void setFailMsg(final String failMsg) {
        this.failMsg = failMsg;
    }
    
    public void setFailTime(final Date failTime) {
        this.failTime = failTime;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setWechat(final String wechat) {
        this.wechat = wechat;
    }
    
    public String toString() {
        return "UserExtract(id=" + this.getId() + ", uid=" + this.getUid() + ", realName=" + this.getRealName() + ", extractType=" + this.getExtractType() + ", bankCode=" + this.getBankCode() + ", bankAddress=" + this.getBankAddress() + ", alipayCode=" + this.getAlipayCode() + ", extractPrice=" + this.getExtractPrice() + ", mark=" + this.getMark() + ", balance=" + this.getBalance() + ", failMsg=" + this.getFailMsg() + ", failTime=" + this.getFailTime() + ", status=" + this.getStatus() + ", wechat=" + this.getWechat() + ")";
    }
    
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserExtract)) {
            return false;
        }
        final UserExtract other = (UserExtract)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0075: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0075;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0075;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0112: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0112;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0112;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0149: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0149;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0149;
            }
            return false;
        }
        final Object this$realName = this.getRealName();
        final Object other$realName = other.getRealName();
        Label_0186: {
            if (this$realName == null) {
                if (other$realName == null) {
                    break Label_0186;
                }
            }
            else if (this$realName.equals(other$realName)) {
                break Label_0186;
            }
            return false;
        }
        final Object this$extractType = this.getExtractType();
        final Object other$extractType = other.getExtractType();
        Label_0223: {
            if (this$extractType == null) {
                if (other$extractType == null) {
                    break Label_0223;
                }
            }
            else if (this$extractType.equals(other$extractType)) {
                break Label_0223;
            }
            return false;
        }
        final Object this$bankCode = this.getBankCode();
        final Object other$bankCode = other.getBankCode();
        Label_0260: {
            if (this$bankCode == null) {
                if (other$bankCode == null) {
                    break Label_0260;
                }
            }
            else if (this$bankCode.equals(other$bankCode)) {
                break Label_0260;
            }
            return false;
        }
        final Object this$bankAddress = this.getBankAddress();
        final Object other$bankAddress = other.getBankAddress();
        Label_0297: {
            if (this$bankAddress == null) {
                if (other$bankAddress == null) {
                    break Label_0297;
                }
            }
            else if (this$bankAddress.equals(other$bankAddress)) {
                break Label_0297;
            }
            return false;
        }
        final Object this$alipayCode = this.getAlipayCode();
        final Object other$alipayCode = other.getAlipayCode();
        Label_0334: {
            if (this$alipayCode == null) {
                if (other$alipayCode == null) {
                    break Label_0334;
                }
            }
            else if (this$alipayCode.equals(other$alipayCode)) {
                break Label_0334;
            }
            return false;
        }
        final Object this$extractPrice = this.getExtractPrice();
        final Object other$extractPrice = other.getExtractPrice();
        Label_0371: {
            if (this$extractPrice == null) {
                if (other$extractPrice == null) {
                    break Label_0371;
                }
            }
            else if (this$extractPrice.equals(other$extractPrice)) {
                break Label_0371;
            }
            return false;
        }
        final Object this$mark = this.getMark();
        final Object other$mark = other.getMark();
        Label_0408: {
            if (this$mark == null) {
                if (other$mark == null) {
                    break Label_0408;
                }
            }
            else if (this$mark.equals(other$mark)) {
                break Label_0408;
            }
            return false;
        }
        final Object this$balance = this.getBalance();
        final Object other$balance = other.getBalance();
        Label_0445: {
            if (this$balance == null) {
                if (other$balance == null) {
                    break Label_0445;
                }
            }
            else if (this$balance.equals(other$balance)) {
                break Label_0445;
            }
            return false;
        }
        final Object this$failMsg = this.getFailMsg();
        final Object other$failMsg = other.getFailMsg();
        Label_0482: {
            if (this$failMsg == null) {
                if (other$failMsg == null) {
                    break Label_0482;
                }
            }
            else if (this$failMsg.equals(other$failMsg)) {
                break Label_0482;
            }
            return false;
        }
        final Object this$failTime = this.getFailTime();
        final Object other$failTime = other.getFailTime();
        Label_0519: {
            if (this$failTime == null) {
                if (other$failTime == null) {
                    break Label_0519;
                }
            }
            else if (this$failTime.equals(other$failTime)) {
                break Label_0519;
            }
            return false;
        }
        final Object this$wechat = this.getWechat();
        final Object other$wechat = other.getWechat();
        if (this$wechat == null) {
            if (other$wechat == null) {
                return true;
            }
        }
        else if (this$wechat.equals(other$wechat)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof UserExtract;
    }
    
    public int hashCode() {
        final int PRIME = 59;
        int result = super.hashCode();
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $realName = this.getRealName();
        result = result * 59 + (($realName == null) ? 43 : $realName.hashCode());
        final Object $extractType = this.getExtractType();
        result = result * 59 + (($extractType == null) ? 43 : $extractType.hashCode());
        final Object $bankCode = this.getBankCode();
        result = result * 59 + (($bankCode == null) ? 43 : $bankCode.hashCode());
        final Object $bankAddress = this.getBankAddress();
        result = result * 59 + (($bankAddress == null) ? 43 : $bankAddress.hashCode());
        final Object $alipayCode = this.getAlipayCode();
        result = result * 59 + (($alipayCode == null) ? 43 : $alipayCode.hashCode());
        final Object $extractPrice = this.getExtractPrice();
        result = result * 59 + (($extractPrice == null) ? 43 : $extractPrice.hashCode());
        final Object $mark = this.getMark();
        result = result * 59 + (($mark == null) ? 43 : $mark.hashCode());
        final Object $balance = this.getBalance();
        result = result * 59 + (($balance == null) ? 43 : $balance.hashCode());
        final Object $failMsg = this.getFailMsg();
        result = result * 59 + (($failMsg == null) ? 43 : $failMsg.hashCode());
        final Object $failTime = this.getFailTime();
        result = result * 59 + (($failTime == null) ? 43 : $failTime.hashCode());
        final Object $wechat = this.getWechat();
        result = result * 59 + (($wechat == null) ? 43 : $wechat.hashCode());
        return result;
    }
}
